// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 范围分页  POST */
export async function pageRange(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AssessWeekCollectArticleRangeData.RangePage[]>>(
    '/assess/week/collect/article/range/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 范围 保存  POST */
export async function saveRange(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/collect/article/range/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 更新 状态  POST */
export async function updateStateRange(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/week/collect/article/range/update/state', {
    method: 'POST',
    data: options || {},
  });
}
